﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common/Master/PopupDiv.master" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="Frame.Web.Admin.Dispatch.Edit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
        .style1
        {
            width: 120px; height:30px; text-align:right;
        }       
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<asp:Panel ID="pnlMain" runat="server" CssClass="pnlMain">
        <table border="0" cellpadding="0" cellspacing="0" style="width: 100%;">
            <tr>
                <td class="style1">
                    <span style="color:Red;">*</span>&nbsp;<asp:Label ID="Label1" 
                        runat="server" Text="类名(含程序集名)："></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="Name" runat="server" Width="200px" CssClass="txt"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="Name"
                        Display="None" ErrorMessage="请输入类名" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <span style="color:Red">*</span>&nbsp;<asp:Label ID="Label4" runat="server" 
                        Text="执行周期(分钟)："></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="Interval" runat="server" Width="200px" CssClass="txt"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="Interval"
                        Display="None" ErrorMessage="请输入执行周期" SetFocusOnError="True"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                        ControlToValidate="Interval" Display="None" ErrorMessage="格式不正确" 
                        SetFocusOnError="True" ValidationExpression="-?\d*"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <span style="color:Red">*</span>&nbsp;<asp:Label ID="Label6" runat="server" 
                        Text="状态："></asp:Label>
                </td>
                <td>
                    <asp:DropDownList ID="drpState" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>           
        </table>
    </asp:Panel>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
<asp:Button ID="btnSave" runat="server" OnClick="btnSave_Click" Text="保存" />
</asp:Content>
